package cn.alex.sso.project.service.impl;

import cn.alex.sso.framework.core.PageHelper;
import cn.alex.sso.project.entity.SysOperateLog;
import cn.alex.sso.project.mapper.SysOperatLogMapper;
import cn.alex.sso.project.service.SysOperateLogService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * @author Alex
 * @description 针对表【sys_operat_log(操作日志表)】的数据库操作Service实现
 * @createDate 2024-10-22 14:02:48
 */
@Service
public class SysOperateLogServiceImpl extends ServiceImpl<SysOperatLogMapper, SysOperateLog> implements SysOperateLogService {

    @Override
    public IPage<SysOperateLog> getPage(SysOperateLog entity) {
        return baseMapper.selectPage(PageHelper.getPage(), baseMapper.getQueryWrapper(entity));
    }
}




